﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Cosmetic.DataAccess;
//using Cosmetic.DataEntity;

//namespace Cosmetic.Logic
//{
//    /// <summary>
//    /// View productInfo manager class
//    /// </summary>
//    class ViewProduceInfor:LogicBase
//    {
//        private CategoryManager m_CategoryManager = new CategoryManager();
//        private CommentManager m_CommentManager = new CommentManager();
//        private TagManager m_TagManager = new TagManager();


//        /// <summary>
//        /// 返回指定类别下所有的商品。
//        /// </summary>
//        /// <param name="categoryId"></param>
//        /// <returns></returns>
//        public List<ProductInfo> GetProducts(Guid categoryId)
//        {
//            var prod=(from product in m_CosmeticDC.ProductInfos
//                      where product.ProductCategoryId==categoryId
//                      select product).ToList();

//            return prod;
                
//        }
//    }
//}
